package com.ouc.yyi.springbootwebapp.service.impl;

import com.ouc.yyi.springbootwebapp.bo.UserBo;
import com.ouc.yyi.springbootwebapp.mapper.UserIMapper;
import com.ouc.yyi.springbootwebapp.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserInfoService {
    @Autowired
    private UserIMapper userIMapper;
    @Override
    public UserBo getUserInfoById(String id) {
        return userIMapper.getUserInfoById(id);
    }

    @Override
    public int saveUser(UserBo userBo) {
        return userIMapper.saveUserInfo(userBo);
    }
}
